package com.health.income.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class ShmOrderVO {


    /**主键自增*/
    private Long id;
    /**订单编号*/
    private String orderNo;
    /**患者id*/
    private Long patientId;
    /**医生id*/
    private Long doctorId;
    /**订单价格*/
    private BigDecimal payPrice;
    /**支付/退款方式（0-支付宝 1-微信）*/
    private Long payType;

    /**订单状态（0-已完成  1-退款  2-超时）*/
    private Long orderStatus;

    /**支付时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date payTime;

    /**退款时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date refundTime;

    /**创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private Date month;
    /**月订单数量*/
    private Long orderCountByMonth;
    /**月收入*/
    private Long totalOrderAmountByMonth;

    private ShmOrderSumVo shmOrderSumVo;

}
